package com.lanou3g.hw0408;

/**
 * Created by dllo on 18/4/8.
 */
public class Main {
    public static void main(String[] args) {
        Keyboard keyboard = new Keyboard("雷蛇", "黑色", "按键");

        Keyboard keyboard1 = new Keyboard();
        keyboard1.setBrand("雷蛇");
        keyboard1.setColor("黑色");
        keyboard1.setWay("按键");
        System.out.println(keyboard1.getBrand() + keyboard1.getColor() + keyboard1.getWay());

        keyboard.taping();

        Monitor monitor = new Monitor("三星", "白色", "按钮");

        Monitor monitor1 = new Monitor();
        monitor1.setBrand("AOC");
        monitor1.setColor("黑色");
        monitor1.setWay("触摸");
        System.out.println(monitor1.getBrand() + monitor1.getColor() + monitor1.getWay());

        monitor.showing();


    }
}
